/*
	程序主框架页面
*/

Ext.define('EF.view.Viewport',{
	extend: 'Ext.container.Viewport',
	
	requires: ['EF.view.MenuTree'],
	
	itemId: 'viewport',
	
	layout: 'border',
	
	items:[{
		//顶部信息栏
		id: 'viewport_top',
		region:'north',
		border: false,
		title: '系统名称'
	},{
		//底部信息栏
		id: 'viewport_bottom',
		region:'south',
		border: false,
		height: 30,
		html:'底部信息栏'
	},{
		//左侧菜单栏
		id: 'viewport_left',
		region:'west',
		border: false,
		title: '功能菜单',
		split: true,
		collapsible: true,
		width: 200,
		layout: 'fit',
		items:[{ xtype: 'menutree' }]
	},{
		//右侧内容栏
		id: 'viewport_center',
		region:'center',
		title: '',
		layout: 'fit',
		border: true
	}]
});